#ifndef _TASK_PROTOCOL_H_
#define _TASK_PROTOCOL_H_
#include<workflow/ProtocolMessage.h>
#include<cstring>
#include<http/client.h>

namespace AsyTask{

	class HttpClient:public Http::Client,public protocol::ProtocolMessage
	{
		protected:
		virtual int append(const void* buf,size_t *size);
		virtual int encode(struct iovec vectors[],int max);
		public:
		HttpClient(){};
	};


}
#endif